forOngoingCall
open fun forOngoingCall(@NonNull person: Person, @NonNull hangUpIntent: PendingIntent): NotificationCompat.CallStyle(source)
Creates a CallStyle for an ongoing call. This notification will have a hang up action, will allow up to two custom actions, and will have a default content text for an ongoing call.
Parameters
person
the person displayed as being on the other end of the call the person also needs to have a non-empty name associated with it
hangUpIntent
the intent to be sent when the user taps the hang up action